﻿function userlogin() {
    $.ajax({
        type: "POST",
        url: "Handle/Login.ashx",
        data: "name=" + $("#input_dlm").attr("value") + "&pass=" + $("#input_dlmm").attr("value"),
        success: function (data) {
            if (data.toString() != "用户名或密码错误！") {
                window.location.href = "ForgetPwd.htm";
            } else {
                $("#message").html("用户名或密码错误！");
            }
        }
    });
}
function clearmessage() {
    $("#message").html("");
}
